oj_server:oj_server.cc ../message-queue/src/common/message.pb.cc ../message-queue/src/common/project.pb.cc /usr/include/muduo/proto/codec.cc
	g++ -g -o $@ $^ -std=c++17 -lpthread -lctemplate -ljsoncpp -lredis++ -lhiredis -lmysqlclient -lmuduo_net -lmuduo_base -pthread -lprotobuf -lz
.PHONY:clean
clean:
	rm -f oj_server
